@layout("/common/_form.html",{js:["/assets/modular/rw/indexBannerOne/indexBannerOne_add.js"]}){
<style>
    .showImage{ margin-top:15px;}
    .showImage img{ max-height: 300px; max-width: 100%;}
</style>
<form class="layui-form" id="indexBannerOneForm" lay-filter="indexBannerOneForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">首页区块一信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input id="indexBannerOneId" name="id" value="${indexBannerOneId}" type="hidden"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">左图一<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input type="hidden" id="leftOneImageId" name="leftOneImageId" class="layui-input">
                            <button type="button" class="layui-btn layui-btn" id="leftOneImageBtn"><i class="fa fa-plus"></i> 选择图片</button>
                            <div id="showLeftOneImage" class="showImage"></div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">右图一<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input type="hidden" id="rightOneImageId" name="rightOneImageId" class="layui-input">
                            <button type="button" class="layui-btn layui-btn" id="rightOneImageBtn"><i class="fa fa-plus"></i> 选择图片</button>
                            <div id="showRightOneImage" class="showImage"></div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">右图二<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input type="hidden" id="rightTwoImageId" name="rightTwoImageId" class="layui-input">
                            <button type="button" class="layui-btn layui-btn" id="rightTwoImageBtn"><i class="fa fa-plus"></i> 选择图片</button>
                            <div id="showRightTwoImage" class="showImage"></div>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">左大标题</label>
                        <div class="layui-input-block">
                            <input name="leftTitle" placeholder="请输入左大标题" type="text" class="layui-input" lay-verify="required" lay-reqtext="左大标题不能为空"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">右图二标题</label>
                        <div class="layui-input-block">
                            <input name="rightTwoTitle" placeholder="请输入右图二标题" type="text" class="layui-input" lay-verify="required" lay-reqtext="右图二标题不能为空"/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">右图二内容</label>
                        <div class="layui-input-block">
                            <textarea name="rightTwoContent" placeholder="请输入右图二内容" class="layui-textarea" lay-verify="required" lay-reqtext="右图二内容不能为空"></textarea>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>
</form>
@}
